<template>
	<view class="content">
		<!-- <up-navbar title="个人中心" :autoBack="true"> </up-navbar> -->

		<up-divider text="分割线" :dashed="true"></up-divider>

		<image class="logo" src="/static/logo.png"></image>
		<view class="text-area">
			<text @click="handleAdd">增加{{count}}</text>
			<u-button text="月落" @click="fn"></u-button>
		</view>



		<!-- <custom-tabbar activeTabName="0"></custom-tabbar> -->

	</view>
</template>

<script setup>
	console.log('首页')
	// import {
	// 	counterStore
	// } from '@/store/index.js';
	import { aa } from '@u/index.js';
	// import customTabbar from '@c/customTabbar/customTabbar';

	let count = ref(0)

	// const counter = counterStore();

	const fn = () => {
		console.log('fnfnfnfn................')
		// aa()
		count.value++;
	}

	const handleAdd = () => {
		// counter.increment()
	}
</script>

<style>
	.content {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.logo {
		height: 200rpx;
		width: 200rpx;
		margin-top: 200rpx;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 50rpx;
	}

	.text-area {
		display: flex;
		justify-content: center;
	}

	.title {
		font-size: 36rpx;
		color: #8f8f94;
	}
</style>